﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPWebShell.entity
{
    [Flags]
    public enum SPPermissionMask
    {
        EmptyMask =         0x00000000,
        ViewListItems = 0x00000001,
        AddListItems = 0x00000002,
        EditListItems = 0x00000004,
        DeleteListItems = 0x00000008,
        CancelCheckout = 0x00000100,
        ManagePersonalViews = 0x00000200,
        ManageLists = 0x00000800,
        OpenWeb = 0x00010000,
        ViewPages = 0x00020000,
        AddAndCustomizePages = 0x00040000,
        ApplyThemeAndBorder = 0x00080000,
        ApplyStyleSheets = 0x00100000,
        ViewUsageData = 0x00200000,
        CreateSSCSite = 0x00400000,
        ManageSubwebs = 0x00800000,
        CreatePersonalGroups = 0x01000000,
        ManageRoles = 0x02000000,
        BrowseDirectories = 0x04000000,
        BrowseUserInfo = 0x08000000,
        AddDelPrivateWebParts = 0x10000000,
        UpdatePersonalWebParts = 0x20000000,
        ManageWeb = 0x40000000
        //FullMask = -1
    }
}
